<!DOCTYPE html>












  


<html class="theme-next mist use-motion" lang="zh-CN">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">


























<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2">

<link rel="stylesheet" href="/css/main.css?v=6.7.0">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=6.7.0">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=6.7.0">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=6.7.0">


  <link rel="mask-icon" href="/images/logo.svg?v=6.7.0" color="#222">







<script id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    version: '6.7.0',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: false,
    fastclick: false,
    lazyload: false,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>


  




  <meta name="description" content="要想打造一台自己的ss(shadowsocks)或ssr（shadowsocksR）服务器。要具备一下条件：  要有一台自己的服务器vps或ecs云主机都可以，虚拟主机是不行滴 服务器一定要在海外或中国香港。推荐日、韩、香港、新加坡服务器下面已阿里ecs为实例说明，主要是ecs降价了366/年的价格速度很快。比网上说的搬瓦工、Vultr强多了。">
<meta name="keywords" content="shadowsocks,科学上网,shadowsocksR">
<meta property="og:type" content="article">
<meta property="og:title" content="使用阿里云ecs主机打造shadowsocks服务器,实现科学上网">
<meta property="og:url" content="https://www.xingjiehu.com/2019/04/11/cktnq12ob0054x0trozitltvo/index.html">
<meta property="og:site_name" content="shooke&#39;s blog">
<meta property="og:description" content="要想打造一台自己的ss(shadowsocks)或ssr（shadowsocksR）服务器。要具备一下条件：  要有一台自己的服务器vps或ecs云主机都可以，虚拟主机是不行滴 服务器一定要在海外或中国香港。推荐日、韩、香港、新加坡服务器下面已阿里ecs为实例说明，主要是ecs降价了366/年的价格速度很快。比网上说的搬瓦工、Vultr强多了。">
<meta property="og:locale" content="zh-CN">
<meta property="og:updated_time" content="2021-09-15T08:59:28.707Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="使用阿里云ecs主机打造shadowsocks服务器,实现科学上网">
<meta name="twitter:description" content="要想打造一台自己的ss(shadowsocks)或ssr（shadowsocksR）服务器。要具备一下条件：  要有一台自己的服务器vps或ecs云主机都可以，虚拟主机是不行滴 服务器一定要在海外或中国香港。推荐日、韩、香港、新加坡服务器下面已阿里ecs为实例说明，主要是ecs降价了366/年的价格速度很快。比网上说的搬瓦工、Vultr强多了。">



  <link rel="alternate" href="/atom.xml" title="shooke's blog" type="application/atom+xml">




  <link rel="canonical" href="https://www.xingjiehu.com/2019/04/11/cktnq12ob0054x0trozitltvo/">



<script id="page.configurations">
  CONFIG.page = {
    sidebar: "",
  };
</script>

  <title>使用阿里云ecs主机打造shadowsocks服务器,实现科学上网 - shooke's blog</title>
  












  <noscript>
  <style>
  .use-motion .motion-element,
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-title { opacity: initial; }

  .use-motion .logo,
  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

  <!-- google 验证 -->
  <meta name="google-site-verification" content="9Y6X9yptaHlOdppRk7mld_uHsSibf3lPB8c_60zPyF0">
  <!-- baidu 验证和收录推送 -->
  <meta name="baidu-site-verification" content="lCJxAeYryx">
</head>

<body itemscope="" itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">shooke's blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
    
    
  </div>

  <div class="site-nav-toggle">
    <button aria-label="切换导航栏">
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>



<nav class="site-nav">
  
    <ul id="menu" class="menu">
      
        
        
        
          
          <li class="menu-item menu-item-home">

    
    
    
      
    

    

    <a href="/" rel="section"><i class="menu-item-icon fa fa-fw fa-home"></i> <br>首页</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-tags">

    
    
    
      
    

    

    <a href="/tags/" rel="section"><i class="menu-item-icon fa fa-fw fa-tags"></i> <br>标签</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-categories">

    
    
    
      
    

    

    <a href="/categories/" rel="section"><i class="menu-item-icon fa fa-fw fa-th"></i> <br>分类</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-archives">

    
    
    
      
    

    

    <a href="/archives/" rel="section"><i class="menu-item-icon fa fa-fw fa-archive"></i> <br>归档</a>

  </li>
        
        
        
          
          <li class="menu-item menu-item-about">

    
    
    
      
    

    

    <a href="/about/" rel="section"><i class="menu-item-icon fa fa-fw fa-user"></i> <br>关于</a>

  </li>

      
      
    </ul>
  

  
    

  

  
</nav>



  



</div>
    </header>

    


    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://www.xingjiehu.com/2019/04/11/cktnq12ob0054x0trozitltvo/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="shooke">
      <meta itemprop="description" content="平时写点技术文章，分享一些经验，予人玫瑰手有余香">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="shooke's blog">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">使用阿里云ecs主机打造shadowsocks服务器,实现科学上网

              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">

            
            
            

            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              

              
                
              

              <time title="创建时间：2019-04-11 15:10:46" itemprop="dateCreated datePublished" datetime="2019-04-11T15:10:46+08:00">2019-04-11</time>
            

            
              

              
                
                <span class="post-meta-divider">|</span>
                

                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">更新于</span>
                
                <time title="修改时间：2021-09-15 16:59:28" itemprop="dateModified" datetime="2021-09-15T16:59:28+08:00">2021-09-15</time>
              
            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope="" itemtype="http://schema.org/Thing"><a href="/categories/笔记/" itemprop="url" rel="index"><span itemprop="name">笔记</span></a></span>

                
                
              
            </span>
          

          
            
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>要想打造一台自己的ss(shadowsocks)或ssr（shadowsocksR）服务器。要具备一下条件：</p>
<ol>
<li>要有一台自己的服务器vps或ecs云主机都可以，虚拟主机是不行滴</li>
<li>服务器一定要在海外或中国香港。推荐日、韩、香港、新加坡服务器<br>下面已阿里ecs为实例说明，主要是ecs降价了<code>366/年</code>的价格速度很快。比网上说的搬瓦工、Vultr强多了。</li>
</ol>
<a id="more"></a>
<h2 id="一-购买云主机"><a href="#一-购买云主机" class="headerlink" title="一 购买云主机"></a>一 购买云主机</h2><p>进入 <a href="https://promotion.aliyun.com/ntms/act/qwbk.html?userCode=627kscqf" target="_blank" rel="noopener">https://promotion.aliyun.com/ntms/act/qwbk.html?userCode=627kscqf</a><br>选择第一项入门级配置的第一个就可以<code>1核1G 40G系统盘</code>，推荐选项<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">区域：新加坡</span><br><span class="line">操作系统：centos 7</span><br><span class="line">带宽：1M</span><br></pre></td></tr></table></figure></p>
<p>区域选新加坡或香港都可以，不建议选欧美的，延时会比新加坡或香港高一丢丢。<br>带宽选择<code>1M</code>基本够用了，价格只有<code>￥366/年</code>,和买个爱奇艺会员差不多，2年也才<code>￥586</code>，非常便宜。<br>默认选择的是<code>2M</code> <code>￥504/年</code>的价格对我来说有点贵，如果你看电影多，可以选这个。<br>操作系统选centos7，是因为下面的操作命令是基于centos写的，如果你有一定linux基础，其实选择什么都可以。<br>选好了付款就可以了，支付宝付款很方便，还可以分期。</p>
<h2 id="二-打造shadowsocks服务环境"><a href="#二-打造shadowsocks服务环境" class="headerlink" title="二 打造shadowsocks服务环境"></a>二 打造shadowsocks服务环境</h2><p>买好了服务器，可以使用终端工具登录服务器。Xshell、Putty、SecureCRT都可以。<br>我平时使用的是deepin，所以使用自带的深度终端进行链接。给深度打个小广告，这是最好用的linux操作系统。</p>
<blockquote>
<p>注意，我买的是新加坡的服务器，执行ssh命令登录时有点慢，需要等待20秒左右才会出现密码输入。但是ping的时候很快，登录后使用时也很快，只是ssh验证慢。不知道什么原因。</p>
</blockquote>
<p>网上关于shadowsocks的安装教程有很多，但好多都比较麻烦，好在有人将安装过程做了打包。感谢一下作者。<br>开始正式安装，我们用最简单的方式，执行一下命令<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">yum -y install wget</span><br><span class="line">wget -N --no-check-certificate https://raw.githubusercontent.com/CecilWu/SSR-Chinese/master/ssr.sh &amp;&amp; chmod +x ssr.sh</span><br></pre></td></tr></table></figure></p>
<p>耐心等待就可以了，下载完成后，我们执行<code>ls</code>会发现，在当前目录出现了一个<code>ssr.sh</code>文件。这个就是管理脚本，我们运行它</p>
<ol>
<li>运行管理脚本<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">./ssr.sh</span><br></pre></td></tr></table></figure>
</li>
</ol>
<p>脚本运行起来了，内容如下<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br></pre></td><td class="code"><pre><span class="line">ShadowsocksR 一键管理脚本 [v2.0.38]</span><br><span class="line">  ---- Toyo | doub.io/ss-jc42 ----</span><br><span class="line"></span><br><span class="line">  1. 安装 ShadowsocksR</span><br><span class="line">  2. 更新 ShadowsocksR</span><br><span class="line">  3. 卸载 ShadowsocksR</span><br><span class="line">  4. 安装 libsodium(chacha20)</span><br><span class="line">————————————</span><br><span class="line">  5. 查看 账号信息</span><br><span class="line">  6. 显示 连接信息</span><br><span class="line">  7. 设置 用户配置</span><br><span class="line">  8. 手动 修改配置</span><br><span class="line">  9. 切换 端口模式</span><br><span class="line">————————————</span><br><span class="line"> 10. 启动 ShadowsocksR</span><br><span class="line"> 11. 停止 ShadowsocksR</span><br><span class="line"> 12. 重启 ShadowsocksR</span><br><span class="line"> 13. 查看 ShadowsocksR 日志</span><br><span class="line">————————————</span><br><span class="line"> 14. 其他功能</span><br><span class="line"> 15. 升级脚本</span><br><span class="line"> </span><br><span class="line"> 当前状态: 已安装 并 已启动</span><br><span class="line"> 当前模式: 单端口</span><br><span class="line"></span><br><span class="line">请输入数字 [1-15]：</span><br></pre></td></tr></table></figure></p>
<p>输入<code>1</code>开始安装。</p>
<ol start="2">
<li>设置端口<br>安装完毕后会要求你自定义端口，默认是2333，我们可以自己设置一个</li>
<li>设置密码<br>端口设置完成会提示你输入密码，输入一个密码回车即可。</li>
<li>选择加密方式<br>这里有很多加密方式，选择一种即可，一般选10：aes-256-cfb或rc4-md5</li>
<li>协议兼容原版<br>输入<code>y</code>回车</li>
<li>混淆插件<br>选择一种混淆插件，默认是<code>5</code>，选择<code>1</code>也可以</li>
<li>连接数和限速设置<br>个人用可以不设置，直接回车</li>
<li>安装部署<br>完成上面的操作，程序会开始下载需要的包，下载完成后会提示是否部署<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Is this ok [y/n]</span><br></pre></td></tr></table></figure>
</li>
</ol>
<p>出现这个提示输入<code>y</code>就可以了，等它自己安装完成。<br>安装完成后会显示先前的配置。<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br></pre></td><td class="code"><pre><span class="line">===================================================</span><br><span class="line"></span><br><span class="line"> ShadowsocksR账号 配置信息：</span><br><span class="line"></span><br><span class="line"> I  P	    : 47.123.123.123</span><br><span class="line"> 端口	    : 2333</span><br><span class="line"> 密码	    : 123456</span><br><span class="line"> 加密	    : rc4-md5</span><br><span class="line"> 协议	    : auth_sha1_v4_compatible</span><br><span class="line"> 混淆	    : plain</span><br><span class="line"> 设备数限制 : 0(无限)</span><br><span class="line"> 单线程限速 : 0 KB/S</span><br><span class="line"> 端口总限速 : 0 KB/S</span><br><span class="line"> SS    链接 : ss://sdfsdfsdfsdfsdfaadsffasd </span><br><span class="line"> SS  二维码 : http://doub.pw/qr/qr.php?text=ss://asdfsdfsadfsdfsdf</span><br><span class="line"> SSR   链接 : ssr://dsfsdfsdfsdf </span><br><span class="line"> SSR 二维码 : http://doub.pw/qr/qr.php?text=ssr://sdfsdfsdfsd</span><br><span class="line"> </span><br><span class="line">  提示: </span><br><span class="line"> 在浏览器中，打开二维码链接，就可以看到二维码图片。</span><br><span class="line"> 协议和混淆后面的[ _compatible ]，指的是 兼容原版协议/混淆。</span><br><span class="line"></span><br><span class="line">===================================================</span><br></pre></td></tr></table></figure></p>
<p>看到这个提示说明安装成功了。后期如果需要重新配置或查看配置，可以执行<code>ssr.sh</code>。还会弹出操作菜单。</p>
<h2 id="设置阿里云主机端口"><a href="#设置阿里云主机端口" class="headerlink" title="设置阿里云主机端口"></a>设置阿里云主机端口</h2><p>这一步很重要，阿里云入方向默认只开了22和3389端口。我们需要将Shadowsocks需要的端口打开，上面我们配置的是2333。具体方法如下<br>进入控制台-》商品与服务-》云服务器ecs， 然后在左侧菜单中找到<code>安全组</code>。右侧找到服务器，点击<code>配置规则</code>。<br>在配置页面选择<code>入方向</code>。点击右上角的<code>添加安全规则</code>。进行配置<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">规则方向：入方向</span><br><span class="line">授权策略：允许</span><br><span class="line">协议类型：自定义TCP</span><br><span class="line">端口范围：2000/3000</span><br><span class="line">优先级:1</span><br><span class="line">授权类型：IPv4地址段访问</span><br><span class="line">授权对象：0.0.0.0/0</span><br></pre></td></tr></table></figure></p>
<p>这样你的电脑无论在哪里都可以链接到服务器了</p>
<h2 id="安装客户端"><a href="#安装客户端" class="headerlink" title="安装客户端"></a>安装客户端</h2><p>Shadowsocks客户端有很多百度一下就可以了。安装后根据服务器的设置，配置一下客户端的参数就可以了。<br>我用的是deepin，使用的<code>Shadowsocks for Deepin</code>很好用，下载地址 <a href="https://github.com/lolimay/shadowsocks-deepin/blob/master/docs/README_CN.md" target="_blank" rel="noopener">https://github.com/lolimay/shadowsocks-deepin/blob/master/docs/README_CN.md</a></p>
<h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料"></a>参考资料</h2><p><a href="https://www.5xiaobo.com/?id=693" target="_blank" rel="noopener">https://www.5xiaobo.com/?id=693</a></p>

      
    </div>

    

    
    
    

    

    
      
    
    
      <div>
        <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
  <div></div>
  <!--
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>领红包</span>
  </button>
  -->
  <div id="QR" style="display: block;">

    

    
      <div id="alipay" style="display: inline-block">
        <img id="alipay_qr" src="/assets/images/alipay_redpack.png" alt="shooke 支付宝">
        <p>支付宝</p>
      </div>
    

    

  </div>
</div>

      </div>
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/shadowsocks/" rel="tag"># shadowsocks</a>
          
            <a href="/tags/科学上网/" rel="tag"># 科学上网</a>
          
            <a href="/tags/shadowsocksR/" rel="tag"># shadowsocksR</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2019/04/03/cktnq12mr001rx0truup07w1p/" rel="next" title="linux安装java环境">
                <i class="fa fa-chevron-left"></i> linux安装java环境
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2019/04/24/cktnq12nd003ax0tr4071p44r/" rel="prev" title="su 与 su - 的区别">
                su 与 su - 的区别 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>


  </div>


          </div>
          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">shooke</p>
              <p class="site-description motion-element" itemprop="description">平时写点技术文章，分享一些经验，予人玫瑰手有余香</p>
          </div>

          
            <nav class="site-state motion-element">
              
                <div class="site-state-item site-state-posts">
                
                  <a href="/archives/">
                
                    <span class="site-state-item-count">89</span>
                    <span class="site-state-item-name">日志</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-categories">
                  <a href="/categories/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">6</span>
                    <span class="site-state-item-name">分类</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-tags">
                  <a href="/tags/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">111</span>
                    <span class="site-state-item-name">标签</span>
                  </a>
                </div>
              
            </nav>
          

          
            <div class="feed-link motion-element">
              <a href="/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
            </div>
          

          
            <div class="links-of-author motion-element">
              
                <span class="links-of-author-item">
                  
                  
                    
                  
                  
                    
                  
                  <a href="https://github.com/shooke" title="GitHub &rarr; https://github.com/shooke" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i>GitHub</a>
                </span>
              
                <span class="links-of-author-item">
                  
                  
                    
                  
                  
                    
                  
                  <a href="https://weibo.com/shooke" title="Weibo &rarr; https://weibo.com/shooke" rel="noopener" target="_blank"><i class="fa fa-fw fa-weibo"></i>Weibo</a>
                </span>
              
            </div>
          

          

          
          

          
            
          
          

        </div>
      </div>

      
      <!--noindex-->
        <div class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
            
            
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#一-购买云主机"><span class="nav-number">1.</span> <span class="nav-text">一 购买云主机</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#二-打造shadowsocks服务环境"><span class="nav-number">2.</span> <span class="nav-text">二 打造shadowsocks服务环境</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#设置阿里云主机端口"><span class="nav-number">3.</span> <span class="nav-text">设置阿里云主机端口</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#安装客户端"><span class="nav-number">4.</span> <span class="nav-text">安装客户端</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#参考资料"><span class="nav-number">5.</span> <span class="nav-text">参考资料</span></a></li></ol></div>
            

          </div>
        </div>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2021</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">shooke</span>

  

  
</div>


  <div class="powered-by">由 <a href="https://hexo.io" class="theme-link" rel="noopener" target="_blank">Hexo</a> 强力驱动 v3.8.0</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 – <a href="https://theme-next.org" class="theme-link" rel="noopener" target="_blank">NexT.Mist</a> v6.7.0</div>





    <script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?d6b6833304116ed43a46f8f77b49d030";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>


        








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

    

    
  </div>

  

<script>
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>


























  
  <script src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>


  


  <script src="/js/src/utils.js?v=6.7.0"></script>

  <script src="/js/src/motion.js?v=6.7.0"></script>



  
  


  <script src="/js/src/schemes/muse.js?v=6.7.0"></script>




  
  <script src="/js/src/scrollspy.js?v=6.7.0"></script>
<script src="/js/src/post-details.js?v=6.7.0"></script>



  


  <script src="/js/src/bootstrap.js?v=6.7.0"></script>



  


  


  





  

  

  
  <script>
  (function(){
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      if (curProtocol === 'https') {
          bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
      }
      else {
          bp.src = 'http://push.zhanzhang.baidu.com/push.js';
      }
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
  })();
  </script>


  

  

  

  

  

  

  

  

  

  

</body>
</html>
